//
//  CenterController.h
//  SizableExample
//
//  Created by Tom Adriaenssen on 14/01/12.
//  Copyright (c) 2012 Adriaenssen BVBA. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import "PageController.h"
#import <QuartzCore/QuartzCore.h>

@class PageController;

@interface CenterController : UIViewController{

    //IBOutlet UIWebView *webView;
    IBOutlet UIImageView *toolbar;
    IBOutlet UIButton *barreBasActus;
    IBOutlet UIButton *barreBasPlanning;
    IBOutlet UIButton *barreBasExplorer;
    IBOutlet UIButton *barreBasOptions;
    IBOutlet UIButton *back;
    IBOutlet UIButton *series;
    NSMutableArray *pageTree;
    IBOutlet UIView *mainView;
    IBOutlet UILabel *titre;
    PageController *pageController;
    UIView *theView;
    IBOutlet UIView *chargementView;
    UIView *firstView;

}

-(IBAction)center:(id)sender;
-(void)addView:(NSString *)page;
- (void)recieveCenter;
- (void)displayPage:(NSArray *)components;
- (void)endLoading;
- (void) removeLastPage;
- (void) removeAllPages;
- (void) addView:(NSString *)page;
- (IBAction) hrefButton:(id)sender;
-(void) endLoading;
@end
